package com.baizhi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.apache.ibatis.annotations.Options;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString
public class User {

    //@Options(useGeneratedKeys = true, keyProperty = "id", keyColumn = "id") // 设置id自动增长
    private String id;
    private String username;
    private String realname;
    private String password;
    private String sex;
}
